<?php
    include './base.php';
    $id = $_POST["id"];
    $name = $_POST["username"];
    $gender = $_POST["gender"];
    $age = $_POST["age"];
    $empId = $_POST["empId"];
    $sql = "update employee set ename = '$name',egender = '$gender',eage =  $age,empId = $empId where eid = $id";
    mysql_query($sql);
    print_r("修改成功!");
?>